class UrlMappings {
    
    static mappings = {
        
        "/login/$action?"(controller: "login")
        "/logout/$action?"(controller: "logout")
        
		"/$controller/$action?/$id?"{
            constraints {
                // apply constraints here
            }
        }
        "/$action?"(controller: "home")
        
		"500"(view:'/error')
    }
}
